package thread;

public class ThreadDemo1  {
    public static void main(String[] args) {
        Thread mth1=new MyThread1();
        Thread mth2=new MyThread2();
        mth1.start();
        mth2.start();
    }
}
class MyThread1 extends Thread {
    @Override
    public void run() {
        for (int i=0;i<10000;i++){
            System.out.println("医科大一11111111111111");
        }
    }
}
class MyThread2 extends Thread{
    @Override
    public void run() {
        for (int i=0;i<12000;i++){
            System.out.println("医科大二2");
        }
    }
}
